<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/element-ui/2.15.9/theme-chalk/index.css">

    <style>
        .el-header {
            background-color: #B3C0D1;
            color: #333;
            line-height: 60px;
        }
    </style>
</head>
<body>
<div id="app">
    <el-header style="background-color: #0095d7;text-align: center">
        <h1 style="color: white;font-size: 22px">
            疫情动态正文
        </h1>
    </el-header>

    <h1>{{content.title}}</h1>
    <h2>poster:{{content.poster}}</h2>
    {{content.content}}
    <h3>发布时间:{{content.postDate}}</h3>



</div>
</body>

<script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.1/axios.min.js"></script>

<!-- import Vue before Element -->
<script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
<!-- import JavaScript -->
<script src="https://cdn.staticfile.org/element-ui/2.15.9/index.min.js"></script>
<script>
    let v = new Vue({
        el: '#app',
        data: function() {

            return {
                content: {}


            }



        },
        methods: {

        },
        created:function (){
            axios.get("/evil/dynamic/selectContent"+location.search).then(function (response) {
                v.content=response.data;
            })
        }

    })
</script>
</html>